define(function(require, exports, module) {
	var abpdata = require("abpinit");
	var abp = abpdata.abpstart;
	//dataModel需要传的模型值,option非必要参数，默认传空对象，done异步完成，fail异步失败，data.success数值成功返回
	/*人员分类*/
	var getInfoDepList = {
		InfoDep: function(templateId, mainId) {
			var option = {};
			var dataModel = {
				"keyword": "", //关键字
				"orderBy": "", //排序 
				"deptId": 0, //部门
				"pageIndex": 1, //当前页
				"pageSize": 20 //分页数；最大分页支持100
			};
			abp.services.app.infoDept.getList(dataModel, option).
			done(function(data) {
				var data1 = {};
				data1.items = data;
				var html = template(templateId, data1);
				$(mainId).append(html);
				if(data.success) {

				} else {

				}
			}).fail(function(data) {

			});

		}
	};
	module.exports = getInfoDepList;
});